Learn R Programming

epiDisplay (version 3.5.0.1)

List non-function objects: List non-function objects

Description

List all objects visible in the global environment except user created functions.

Usage

lsNoFunction()

Arguments

Details

Compared to standard 'ls()', this function displays only the subset of 'ls()' which are not functions.

The member of this list can be removed by 'zap()' but not the set of the functions created.

See Also

'use', 'detach', 'ls', 'rm'

Examples

Run this code
# NOT RUN {
object1 <- 1:5
object2 <- list(a=3, b=5)
function1 <- function(x) {x^3 +1}
ls() 
lsNoFunction()

## To show only functions
as.character(lsf.str()[])
# }

Run the code above in your browser using DataLab